﻿@{
    ViewBag.Title = "EditEnterprise";
    Layout = "~/Views/Shared/Layout.cshtml";
    <script src="~/Scripts/Enterprise/EditEnterprise.js"></script>
}

		<!-- BEGIN PAGE CONTAINER-->        
			<div class="container-fluid">
				<!-- BEGIN PAGE HEADER-->
				<div class="row-fluid">
					<div class="span12">
						<!-- BEGIN PAGE TITLE & BREADCRUMB-->
						<h3 class="page-title">
							Empresas
						</h3>

					</div>
				</div>
				<!-- END PAGE HEADER-->
				<!-- BEGIN PAGE CONTENT-->
				<div class="row-fluid">
					<div class="span12">
						<!-- BEGIN SAMPLE FORM PORTLET-->   
						<div class="portlet box blue">
							<div class="portlet-title">
								<div class="caption"><i class="icon-reorder"></i>Editar Empresa</div>
								<div class="tools" style="display:none">
									<a href="javascript:;" class="collapse"></a>
									<a href="#portlet-config" data-toggle="modal" class="config"></a>
									<a href="javascript:;" class="reload"></a>
									<a href="javascript:;" class="remove"></a>
								</div>
							</div>
							<div class="portlet-body form">
								<!-- BEGIN FORM-->
								<form id=@ViewBag.enterpriseId action="#" class="form-horizontal">
                                   <h3 class="form-section">Información de la Empresa</h3>
									<div class="control-group">
										<label class="control-label">Razon Social</label>
										<div class="controls">
											<input  id="txtSocialReason"  type="text" class="span6 m-wrap" value="" />
										</div>
									</div>
									
                                    <div class="control-group">
										<label class="control-label">RUC</label>
										<div class="controls">
											<input id="txtRUC" type="text"  class="span6 m-wrap" value="" />
                                          </div>
									</div>
                                    <div class="control-group">
										<label class="control-label">Dirección Legal</label>
										<div class="controls">
											<input id="txtAddress"  type="text" class="span6 m-wrap" value="" />
										</div>
									</div>

                                           <div class="control-group">
												<label class="control-label">Sector</label>
												<div class="controls">
													<select id="optSector" class="span6 select2">
													
													</select>

                                                    
                                                   
												</div>
                                         
									 </div>

                                      <div class="control-group">
												<label class="control-label">Grupo Económico</label>
												<div class="controls">
													<select id="optEconomicGroup" class="span6 select2">
													
													</select>

                                                    
                                                   
												</div>
                                         
									 </div>
                                       <div class="control-group">
										<label class="control-label">CEM</label>
										<div class="controls">
											<input id="txtRisk" disabled=""  type="text" class="span6 m-wrap" value="" />
										</div>
									</div>
                                      <div class="control-group">
										<label class="control-label">Valor Default</label>
										<div class="controls">
											<input id="txtValue" disabled=""  type="text" class="span6 m-wrap" value="" />
										</div>
									</div>
                                     <div style="visibility:hidden" class="control-group">
										<label class="control-label">Fecha de Creación</label>
										<div class="controls">
											<input id="txtDate" disabled=""  type="text" class="span6 m-wrap" value="" />
										</div>
									</div>


		                            <h3 class="form-section">Información de Representante Legal</h3>

								    <div class="control-group">
										<label class="control-label">Nombres</label>
										<div class="controls">
											<input id="txtName" type="text"  class="span6 m-wrap" />
										</div>
									</div>
                                     <div class="control-group">
										<label class="control-label">Apellido Paterno</label>
										<div class="controls">
											<input id="txtFirstName" type="text" class="span6 m-wrap" />
										</div>
									</div>
                                     <div class="control-group">
										<label class="control-label">Apellido Materno</label>
										<div class="controls">
											<input id="txtLastName" type="text"  class="span6 m-wrap" />
										</div>
									</div>
                                    <div class="control-group">
										<label class="control-label">DNI</label>
										<div class="controls">
											<input id="txtDNI" disabled=""  type="text" class="span6 m-wrap" />
										</div>
									</div>
                                    <div class="control-group">
										<label class="control-label">Telefono</label>
										<div class="controls">
											<input id="txtPhone"  type="text" class="span6 m-wrap" />
										</div>
									</div>
									<div class="control-group">
										<label class="control-label">Email</label>
										<div class="controls">
											<div class="input-icon left">
												<i class="icon-envelope"></i>
												<input id="txtEmail"  style="height:35px;" class="m-wrap " type="text" placeholder="Correo Electronico" />    
											</div>
										</div>
									</div>
                               <div class="form-actions">
                                 <a id="btnSave" class="btn blue" href="/enterprise/searchenterprise" ><i class="icon-ok"></i> Guardar</a>
	                              <a class="btn" href="/enterprise/searchenterprise">Cancelar</a> 
                               </div>
								</form>
								<!-- END FORM-->  
							</div>
						</div>
						<!-- END SAMPLE FORM PORTLET-->

					</div>
				</div>
				<!-- END PAGE CONTENT-->
			</div>
			<!-- END PAGE CONTAINER-->